//
//  AppDelegate.h
//  QAir
//
//  Created by qkong on 15/6/12.
//  Copyright (c) 2015年 qkong. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "MFSideMenu.h"
#import "LoadingViewController.h"
#import <CoreBluetooth/CoreBluetooth.h>
@interface QAirAppDelegate : UIResponder <UIApplicationDelegate, CBPeripheralDelegate, CBCentralManagerDelegate>

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) MFSideMenuContainerViewController *container;

@property (strong, nonatomic) LoadingViewController *loadingView;

@property (nonatomic, strong) CBCentralManager *centralManager;

@property (nonatomic, strong) NSMutableArray *peripherals;

@property (nonatomic, strong) CBPeripheral *qairPeripheral;

@property (nonatomic, strong) NSData *historyWriteData;

- (void)startScan;

- (void)stopScan;

- (void)connectToPeripheral:(CBPeripheral *)peripheral;

@end

